package com.hnas.eCard.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.hnas.eCard.dao.ECardChannelInfoDao;
import com.hnas.eCard.orm.ECardChannelInfo;
import com.hnas.eCard.service.ECardChannelInfoService;

@Component("eCardChannelInfoService")
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public class ECardChannelInfoServiceImpl implements ECardChannelInfoService{

	@Autowired
	private ECardChannelInfoDao eCardChannelInfoDao;
	
	@Override
	public ECardChannelInfo findById(String id) {
		return this.eCardChannelInfoDao.findById(id);
	}

}
